﻿using System;
using TMT_CMS.BL.Excel.AttributeUtility;

namespace TMT_CMS.BL.Excel.Entity
{
    /*
    create table CurrencyType
    (
        CurrencyTypeNo       SHORT           not null,
        Abbr                 STRING,
        ChineseName          STRING,
        EnglishName          STRING,
    constraint PK_CURRENCYTYPE primary key (CurrencyTypeNo)
    );
    */
    public class CurrencyType
    {
        private short _ID = -1;
        private string _Abbr = string.Empty;
        private string _ChineseName = string.Empty;
        private string _EnglishName = string.Empty;

        [DataAttribute("ID", DataType.ShortInt)]
        public short ID
        {
            get { return _ID; }
            set { _ID = value; }
        }

        [DataAttribute("Abbr", DataType.String)]
        public string Abbr
        {
            get { return _Abbr; }
            set { _Abbr = value; }
        }

        [DataAttribute("ChineseName", DataType.String)]
        public string ChineseName
        {
            get { return _ChineseName; }
            set { _ChineseName = value; }
        }

        [DataAttribute("EnglishName", DataType.String)]
        public string EnglishName
        {
            get { return _EnglishName; }
            set { _EnglishName = value; }
        }
    }
}
